#pragma once

#include <riscv/asm.h>
#include <riscv/csr.h>

extern void arch_local_irq_enable(void);
extern void arch_local_irq_disable(void);
extern unsigned long arch_local_irq_save(void);
extern void arch_local_irq_restore(unsigned long flags);
extern int arch_irqs_disabled(void);
